12#ifndef ROC_SNDIO_SOX_BACKEND_H_
13#define ROC_SNDIO_SOX_BACKEND_H_
39 virtual bool probe(
const char* driver,
const char* inout,
int flags);
Memory allocator interface.
Base class for non-copyable objects.
static T & instance()
Get singleton instance.
virtual bool probe(const char *driver, const char *inout, int flags)
Check whether the backend can handle given input or output.
virtual bool get_drivers(core::Array< DriverInfo > &arr, int filter_flags)
Append supported dirvers to the list.
static SoxBackend & instance()
Get instance.
void set_frame_size(size_t size)
Set internal SoX frame size.
virtual ISource * open_source(core::IAllocator &allocator, const char *driver, const char *input, const Config &config)
Create and open a source.
virtual ISink * open_sink(core::IAllocator &allocator, const char *driver, const char *output, const Config &config)
Create and open a sink.